/* 覆盖Element Plus的部分样式，解决容器宽度问题 */

/* 确保el-container占满可用宽度 */
.el-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* 确保主要内容区域占满可用宽度 */
.el-main {
  width: 100% !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* 确保卡片组件占满可用宽度 */
.el-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 确保行占满可用宽度 */
.el-row {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 修复栅格系统 */
.el-col {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

/* 确保表格占满可用宽度 */
.el-table {
  width: 100% !important;
}

/* 确保头部区域占满宽度 */
.el-header {
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* 强制所有容器类元素占满宽度 */
.dashboard,
.dashboard-content,
.homework-list-container,
.homework-manage,
.page-header,
.list-card,
.message-center,
.chat-container,
.chat-layout,
.homework-detail-container,
.homework-submit-container,
.homework-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}